package com.guanzhi.fusionMybatis.mapper;

import com.guanzhi.fusionMybatis.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Spring Boot
 * <p> Package: com.guanzhi.fusionMybatis.mapper </p>
 * <p> File: UserMapper.java </p>
 * <p> Description:  (数据访问层)</p>
 * <p> Date: 2024/1/24 21:54</p>
 *
 * @author 观之
 * @version 1.0 （代码版本）
 * @email <a href="mailto:guanzhi55634@aliyun.com">观之</a>（邮箱）
 * @date 2024/1/24 21:54
 * @since jdk17（jdk版本）
 */
@Mapper
public interface UserMapper {
    @Select("select * from user where id = #{id}")
    User findById(Long id);
}
